package com.bite.hello;

public class helloworld {
/*    public static void main(String[] args) {
        short a =128;
        byte b =(byte) a;
        System.out.println(a);
        System.out.println(b);
        System.out.println(Byte.MIN_VALUE);
        System.out.println(Byte.MAX_VALUE);

        int  c = 3;
        byte d = (byte)c;

        int df = 10;
        System.out.printl(!df);
    }
    public static void main1(String[] args) {
//        System.out.println("helloworld");
        int a = 10;
        int b = 20;
//        System.out.println("a+b="+a+b);
        System.out.println(a + b);
        double c = 10;
        float d = 1.5F;
        int e = 10;
//        e += 12.5;
//        e = (int)(e + 12.5);
        System.out.println(e);

        System.out.println("------------");

        double f = 12.5;
//        f += 10;
        System.out.println(f);

        System.out.println("\n");
    }*/

    int year = 2000;
    if(year % 100 ！= 0){
        if(year % 4 == 0) {
            System.out.println("闰年");
        }
            else{
                System.out.println("不是闰年");
            }
    }
    else{
        if(year % 400 == 0){
            System.out.println("闰年");
        }
        else{
            System.out.println("不是闰年");
        }
    }
}
